package hao.itheima.mapper;


import hao.itheima.pojo.EmpLoginLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EmpLoginMapper {
    /**
     * 插入登录日志
     * @param loginInfo
     */
    @Insert("insert into emp_login_log (username, password, login_time, is_success, jwt) " +
            "values (#{username}, #{password}, #{loginTime}, #{isSuccess}, #{jwt})")
    void insert(EmpLoginLog loginInfo);
}
